package wsn.node;

import wsn.applications.data_app.DataStation;

module BaseStation extends NodeBase {
 
    parameters:
        @display("i=device/antennatower");
        numRadios = default(1);
        isBaseStation = true;
		networkLayer.ip.isDisplayNodeString = false;
    submodules:
        application: DataStation {
         	@display("p=216,150");   
        }
    connections allowunconnected:
        networkLayer.dataAppOut --> application.dataIn;
        networkLayer.dataAppIn <-- application.dataOut;
        
}